See Also

EnhancedStream Class  | EnhancedStream Members  | Overload List

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

buffer
The storage location for the received data.
See Also Languages PowerTCP Email Validation for .NET

Read(Byte[]) Method

Dart.PowerTCP.EmailValidation Namespace > EnhancedStream Class > Read Method : Read(Byte[]) Method

Reads at least one byte of data from the Stream and copies it into the provided buffer.

[Visual Basic]
Overloads Public Function Read( _    ByVal buffer() As Byte _ ) As Integer
[C#]
public int Read(    byte[] buffer );
[C++]
public: int Read(    byte[]* buffer )
[C++/CLI]
public: int Read(    bytearray<buffer>^ buffer )

Parameters

buffer
The storage location for the received data.

Return Type

The total number of bytes read into the buffer.

Exceptions

ExceptionDescription
IOExceptionThrown when the Stream is not readable.
ArgumentNullExceptionThrown when the buffer or callback is null.

Remarks

This is a convenience method for all derived classes, calling Read(buffer,0, buffer.Length) on the stream.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

EnhancedStream Class  | EnhancedStream Members  | Overload List


Send comments on this topic.

Documentation version 1.0.3.0.

© 2008 Dart Communications.  All rights reserved.